ex: set ts=2 ai program Leute; { Generiert Liste von Leuten, zum Kampf } {$I "include:utils/stringlib.i"} {$I "include:utils/random.i"} {$I-} type t_Liste=record Name:string; next:^t_Liste end; var aus:text; c:char; Liste:t_Liste; function str_int(str:string):integer; var i,j:integer; l,n:short; begin i:=0; l:=pred(strlen(str)); for j:=0 to l do begin n:=ord(str[j])-48; if (n<0) or (n>9) then str_int:=i; i:=i*10+n end; str_int:=i function int_str(i:integer):string; { i=0..99 } var str:string; begin str:=AllocString(4); if i<10 then begin str[0]:=chr(i+48); str[1]:='\0' end else begin str[0]:=chr(i div 10+48); str[1]:=chr(i mod 10+48); str[2]:='\0' end; int_str:=str function min(a,b:integer):integer; begin if a